#include <iostream>
using namespace std;

//char --> int,升级转换
void flower (int i) {
	cout << "flower(int)" << endl;
}
//char --> const char，常量转化
void flower (const char c) {
	cout << "flower(const char)" << endl;
}

//short --> char，降级转换
void water (char c) {
	cout << "water(char)" << endl;
}
//short --> int， 升级转换
void water (int i) {
	cout << "water(int)" << endl;
}

//float--> ..., 省略号转换
void hum (int i, ...) {
	cout << "hum(1)" << endl;
}
//float-->int， 降级转换
void hum (int i, int j) {
	cout << "hum(2)" << endl;
}

int main (void)
{
	char c = 'A';
	flower (c); //2版

	short s = 10;
	water (s); //2版

	hum (10, 1.23);//2版

	return 0;
}
